package com.kgc.skProvider.dao;

import com.kgc.collection.pojo.CwOtherIncome;
import com.kgc.collection.pojo.CwOtherIncomeDetail;

import java.util.List;
import java.util.Map;

public interface CwOtherIncomeMapper {

    List<CwOtherIncome>  selectCwOtherIncomeByPage(Map<String,Object> map);

    CwOtherIncome selectCwOtherIncomeByCode(Map<String,Object> map);

    int insertCwOtherIncome(CwOtherIncome cwOtherIncome);

    int updateCwOtherIncome(Map<String,Object> map);

    int deleteCwOtherIncome(Map<String,Object> map);

    int checkCwOtherIncome(Map<String,Object> map);

    List<CwOtherIncomeDetail> selectCwOtherIncomeDetailByCode(Map<String,Object> map);

    int insertCwOtherDetail(CwOtherIncomeDetail cwOtherIncomeDetail);

    int updateCwOtherDetail(CwOtherIncomeDetail cwOtherIncomeDetail);

    int deleteCwOtherDetail(Map<String,Object> map);



}
